class MonitorIp {

    constructor({
                    houseId = '',
                    position = '',
                    actualDomainAction = '1',
                    ipAction = '1',
                    portAction = '1',
                    lastFoundTimeStart = '',
                    lastFoundTimeEnd = '',
                    protocol = '',
                    exceptionType = '',
                    dealStatus = '',
                    timeArray = [],
                    ...args
                } = {}) {
        this.houseId = houseId;
        this.position = position;
        this.actualDomainAction = actualDomainAction;
        this.ipAction = ipAction;
        this.portAction = portAction;
        this.lastFoundTimeStart = lastFoundTimeStart;
        this.lastFoundTimeEnd =lastFoundTimeEnd;
        this.protocol=protocol;
        this.exceptionType=exceptionType;
        this.dealStatus=dealStatus;
        this.timeArray = timeArray;
        Object.assign(this, args)

    }
};